<template>
  <div class="orderTest-container">
    <h4 class="line" style="font-size: 18px;">Hello</h4>
    <div class="content">
      <div class="left">
        <div class="title">I'am Lih</div>
        <div class="info">
          web & node
        </div>
        <div class="text call">
          <div>
            我是一名有三年经验的前端开发人员,本网站是由我自己vue+node编写完成.
          </div>
          <div class="call">
            <my-button showBg @click="handleContactMe">联系我</my-button>
            <my-button style="margin-left: 40px;" @click="handleWorkList">
              作品集
            </my-button>
          </div>
        </div>
      </div>
      <div class="right hidden-md-and-down">
        <img src="@/assets/hero-shape.png" alt="" />
      </div>
    </div>
  </div>
</template>
<script>
  export default {
    name: "Banner",
    components: {},
    data() {
      return {};
    },
    created() {},
    mounted() {},
    computed: {},
    watch: {},
    methods: {
      handleContactMe() {
        this.$router.push("/contact");
      },
      handleWorkList() {
        this.$router.push("/works");
      },
    },
  };
</script>
<style lang="scss" scoped>
  .orderTest-container {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .content {
    @include flex;
    justify-content: flex-start;
    align-items: center;
    .left {
      width: 50%;
      .title {
        font-size: 90px;
        font-weight: 200;
      }
      .info {
        font-weight: 600;
        font-size: 100px;
      }
      .text {
        font-size: 16px;
        color: #ccc;
      }
    }
    .right {
      width: 50%;
      img {
        width: 100%;
      }
    }
  }
  .call {
    margin-top: 60px;
  }
  @media screen and (max-width: 1440px) {
    .content {
      .left {
        width: 70%;
        .title {
          font-size: 80px;
        }
        .info {
          font-size: 90px;
        }
      }
    }
    .call {
      margin-top: 50px;
    }
  }
  @media screen and (max-width: 1024px) {
    .content {
      .left {
        width: 100%;
      }
    }
  }
  @media screen and (max-width: 992px) {
    .content {
      .left {
        width: 100%;
        .title {
          font-size: 60px;
        }
        .info {
          font-size: 70px;
        }
      }
    }
    .call {
      margin-top: 40px;
    }
  }
  @media screen and (max-width: 668px) {
    .content {
      .left {
        width: 100%;
        .title {
          font-size: 50px;
        }
        .info {
          font-size: 60px;
        }
      }
    }
    .call {
      margin-top: 30px;
    }
  }
  @media screen and (max-width: 414px) {
    .content {
      .left {
        width: 100%;
        .title {
          font-size: 40px;
        }
        .info {
          font-size: 50px;
        }
      }
    }
    .call {
      margin-top: 20px;
    }
  }
</style>
